const cmd = require('node-cmd');
//node-cmd的路径都要改成双斜杠不然要报错
cmd.runSync('cd C:\\vueServer\\vue & npm run serve');
console.log(`
    
        Sync Err ${syncData.err}
        
        Sync stderr:  ${syncDir.stderr}
 
        Sync Data ${syncData.data}
    
    `);